home *** CD-ROM | disk | FTP | other *** search
/ Loadstar 15 / 015.d81 / t.logo boot < prev    next >
Text File  |  2022-08-26  |  2KB  |  140 lines

  1.            LOGO DATA BASE
  2.  
  3.  
  4. Written by: David Malmberg
  5.  
  6. List Processing in LOGO-Part 3
  7. A LOGO Data Base for the C-64
  8. PowerPlay Magazine, September 1985
  9. Page 114
  10.  
  11.  
  12.   David is continuing his series on
  13.  
  14. List Processing using the language of
  15.  
  16. LOGO.  This month he develops a full
  17.  
  18. fledged data base.
  19.  
  20.   Whenever you wish to develop a new
  21.  
  22. data base, begin by using the
  23.  
  24. original copy of the program.  This
  25.  
  26. will make sure that you are using a
  27.  
  28. 'fresh' copy.
  29.  
  30.   The first thing you want to do when
  31.  
  32. using the data base is define the
  33.  
  34. record fields.  You do that by
  35.  
  36. giving the command:
  37.  
  38.   CREATE "FACTS [DATE TIME PLACE]
  39.  
  40.   This would define a file named
  41.  
  42. FACTS with three fields (DATE, TIME,
  43.  
  44. and PLACE).
  45.  
  46.   To add to the data base you give
  47.  
  48. the command:
  49.  
  50.   ADD "FACTS
  51.  
  52.   The computer then prompts you to
  53.  
  54. enter your information.  When you are
  55.  
  56. finished entering your data, enter
  57.  
  58. QUIT to the ENTRY? prompt.
  59.  
  60.   To display all records, type:
  61.  
  62.   DISPLAY EVERY "FACTS
  63.  
  64.   To save your records to disk, type:
  65.  
  66.   SAVE "FACTS
  67.  
  68.   You can search your data base by
  69.  
  70. typing:
  71.  
  72.   DISPLAY SELECTED "FACTS
  73.  
  74.   You will then be given a menu that
  75.  
  76. will allow you to pick your mode of
  77.  
  78. search.  You can search ANY fields,
  79.  
  80. you can search only the KEYWORD
  81.  
  82. fields, or you can search only the
  83.  
  84. ENTRY field.  The data that you are
  85.  
  86. searching is numeric, the program
  87.  
  88. will display a total of all records
  89.  
  90. found.
  91.  
  92.   To delete your records, you can
  93.  
  94. type:
  95.  
  96.   DELETE EVERY "FACTS
  97.  
  98. This will delete all records in the
  99.  
  100. file.  You can also DELETE SELECTED
  101.  
  102. "FACTS.  This allows you to delete
  103.  
  104. only the records that you specify.
  105.  
  106.  
  107. **** NOTE ****
  108.  
  109.   Because of the nature of this
  110. program, it can not be RUN from the
  111. LOADSTAR environment.  The actual
  112. program is on Side 2 of this issue.
  113. It is saved under the name of:
  114.  
  115.              DATA.LOGO
  116.  
  117.  
  118.   This program is copyrighted by
  119.  
  120. PowerPlay Magazine.  All rights to it
  121.  
  122. are reserved.  LOADSTAR has relieved
  123.  
  124. you from the burden of keying in this
  125.  
  126.     program,  For more complete
  127.  
  128. information about this program, refer
  129.  
  130.   to the September 1985 issue of
  131.  
  132.        PowerPlay Magazine.
  133.  
  134.  
  135. >Files used: DATA.LOGO
  136.  
  137. ----------< end of article >----------
  138.  
  139.  
  140.